package ai.people.netmon.framework.domain.ucenter.request;

import ai.people.netmon.framework.model.request.RequestData;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
public class LoginRequest extends RequestData {

    /**
     * 用户名
     */
    //@NotEmpty(message = "用户名不可为空")
    private String username;
    /**
     * 密码
     */
    //@NotEmpty(message = "密码不可为空")
    private String password;

    /**
     * 授权类型
     * 1.password
     * 2.authorization_code
     * @mock password
     */
    private String grant_type = "password";

    /**
     * 客户秘密
     */
    private String client_secret;

    /**
     * 客户id
     */
    private String client_id;

    /**
     * 授权码代码
     */
    private String code;

}
